/*
 * @Author: yanjikun
 * @Date: 2022-01-12 10:02:56
 * @LastEditors: yanjikun
 * @LastEditTime: 2022-01-12 10:07:46
 * @Description: file content
 */
const projectName = import.meta.env.VITE_GLOBAL_APP_TITLE
export const error = (message: string) => {
  throw new Error(`[${projectName} error]:${message}`)
}
